package cn.itcast.mq.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author Azer
 * @LOVE,,,
 * @Date 2021/11/2 16:30
 */
@Configuration
public class RabbitConfig {

    @Bean
    Queue objectQueue(){
        return  new Queue("object.queue");
    }

}
